package com.qiaoba.module.job.exec;

import com.qiaoba.module.job.core.AbstractQuartzJob;
import com.qiaoba.module.job.entity.SysJob;
import com.qiaoba.module.job.util.JobInvokeUtil;
import org.quartz.JobExecutionContext;

/**
 * 定时任务处理（允许并发执行）
 *
 * @author ailanyin
 * @date 2023-09-03 22:59:19
 */
public class QuartzJobExec extends AbstractQuartzJob {
    @Override
    protected void doExecute(JobExecutionContext context, SysJob sysJob) throws Exception {
        JobInvokeUtil.invokeMethod(sysJob);
    }
}
